package pub.cleangao.memm.transport.message;


import lombok.Data;

import java.io.Serializable;


@Data
public class RpcMessage implements Serializable {


    /**
     * rpc message type
     */
    private byte messageType;

    /**
     * serialization type
     */
    private byte codec;

    /**
     * compress type
     */
    private byte compress;

    /**
     * request id
     */
    private int requestId;

    /**
     * request data
     */
    private Object data;




}
